<?php /* Smarty version Smarty-3.1.18, created on 2017-07-22 21:14:15
         compiled from "/Applications/MAMP/htdocs/PHP/jifenshop/protected/template/wap/member.index.html" */ ?>
<?php /*%%SmartyHeaderCode:73681521759734fa78f62b1-05180070%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    'cc67354a1cd24042520dac6c4bbd7b04c628f36c' => 
    array (
      0 => '/Applications/MAMP/htdocs/PHP/jifenshop/protected/template/wap/member.index.html',
      1 => 1500453216,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '73681521759734fa78f62b1-05180070',
  'function' => 
  array (
  ),
  'variables' => 
  array (
    'member' => 0,
  ),
  'has_nocache_code' => false,
  'version' => 'Smarty-3.1.18',
  'unifunc' => 'content_59734fa796c0b5_32198662',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_59734fa796c0b5_32198662')) {function content_59734fa796c0b5_32198662($_smarty_tpl) {?><?php echo $_smarty_tpl->getSubTemplate ("header.html", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array(), 0);?>

<body class="gr">

<div class="navBar navBar-hidden">
	<!--<a class="left" href="wap.php?app=cart&act=index"><i class="member-cart badge"><sub></sub></i></a>-->
	<div class="titleView">会员</div>
	<a class="right" href="wap.php?tpl=member.set"><i class="member-set"></i></a>
</div>

<div class="member-index main-bottom width-wrap">
	<div class="topView">
		<div class="infoView">
			<div class="avatar" style="<?php if ($_smarty_tpl->tpl_vars['member']->value->id>0&&$_smarty_tpl->tpl_vars['member']->value->avatar!='') {?>background-image:url(<?php echo $_smarty_tpl->tpl_vars['member']->value->avatar;?>
);<?php }?>"></div>
			<?php if ($_smarty_tpl->tpl_vars['member']->value->id>0) {?>
			<span><?php echo $_smarty_tpl->tpl_vars['member']->value->name;?>
</span>
			<?php } else { ?>
			<div class="btnView">
				<a href="wap.php?tpl=login">登录</a>
				<a href="wap.php?tpl=register">注册</a>
			</div>
			<?php }?>
		</div>
	</div>
	
	<section>
		<ul class="tableView tableView-light">
			<li><a href="wap.php?tpl=member.integral"><h1><em class="ico3"></em>我的积分</h1></a></li>
			<li><a href="wap.php?app=goods&act=index&integral=1"><h1><em class="ico5"></em>积分商城</h1></a></li>
			<li><a href="wap.php?app=member&act=order&integral_order=1"><h1><em class="ico6"></em>积分商城订单</h1></a></li>
		</ul>
	</section>
</div>

<div class="footer">
	<a class="ico1" href="wap.php"></a>
	<a class="ico2" href="wap.php?app=category&act=index"></a>
	<a class="ico5 this" href="wap.php?app=member&act=index"></a>
</div>

<?php echo $_smarty_tpl->getSubTemplate ("footer.html", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array(), 0);?>

<script>
$(function(){
	$('.navBar .right, section a').checklogin();
	$(window).scroll(function(){
		if($(window).scrollTop()>=$('.topView').height()-$('.navBar').height()){
			$('.navBar').removeClass('navBar-hidden');
		}else{
			$('.navBar').addClass('navBar-hidden');
		}
	});
});
</script><?php }} ?>
